package com.heng.apphook

import android.app.Application
import com.heng.apphook.hook.MockLocationHooker
import com.heng.mapbundle2.MockLocationV2
import com.swift.sandhook.SandHook
import com.swift.sandhook.SandHookConfig


/**
 * Application类，用于初始化SandHook框架
 */
class AppHookApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        MockLocationV2.init(this)
        SandHookConfig.DEBUG = true
        SandHook.addHookClass(MockLocationHooker::class.java)
    }
} 